package com.eml.service.service;

import com.eml.service.entity.Merchant;
import com.eml.service.entity.User;

public interface UserService {
    //用户登录
    User userLogin(String username, String userPassword) throws Exception;
    //用户注册
    void userRegister(User user) throws Exception;
    //修改密码
    void updateUserPassword(String userName,String userPassword) throws Exception;
    //查询本人信息
    User selectUserInfo(String username, String userPassword) throws Exception;
    //查看商家信息
    Merchant selectMerchantInfo(String merchantName) throws Exception;
    //查看菜单
    void selectMenuInfo() throws Exception;
    //提交订单
    void commitOrderStatus() throws Exception;
    //查看订单状态
    void selectOrderStatus() throws Exception;
    //查看支付状态
    void selectPayment() throws Exception;
    //查看配送员状态
    void selectDelivererStatus() throws Exception;
    //更改订单状态
    void updateOrderStatus() throws Exception;
    //提交评价
    void commitReview() throws Exception;
    //提交反馈
    void commitFeedback() throws Exception;
}
